.class Lframent/FramentOrder$1;
.super Landroid/os/Handler;
.source "FramentOrder.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lframent/FramentOrder;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lframent/FramentOrder;


# direct methods
.method constructor <init>(Lframent/FramentOrder;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    .line 220
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lframent/FramentOrder$1;)Lframent/FramentOrder;
    .locals 1

    .prologue
    .line 220
    iget-object v0, p0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    return-object v0
.end method

.method private addViewToAnimLayout(Landroid/view/ViewGroup;Landroid/view/View;[I)Landroid/view/View;
    .locals 5
    .param p1, "vg"    # Landroid/view/ViewGroup;
    .param p2, "view"    # Landroid/view/View;
    .param p3, "location"    # [I

    .prologue
    const/4 v4, -0x2

    .line 667
    const/4 v3, 0x0

    aget v1, p3, v3

    .line 668
    .local v1, "x":I
    const/4 v3, 0x1

    aget v2, p3, v3

    .line 669
    .local v2, "y":I
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v4, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 672
    .local v0, "lp":Landroid/widget/LinearLayout$LayoutParams;
    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    .line 673
    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    .line 674
    invoke-virtual {p2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 675
    return-object p2
.end method

.method private createAnimLayout()Landroid/view/ViewGroup;
    .locals 5

    .prologue
    const/4 v4, -0x1

    .line 653
    iget-object v3, p0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    invoke-virtual {v3}, Lframent/FramentOrder;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-virtual {v3}, Landroid/support/v4/app/FragmentActivity;->getWindow()Landroid/view/Window;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewGroup;

    .line 654
    .local v2, "rootView":Landroid/view/ViewGroup;
    new-instance v0, Landroid/widget/LinearLayout;

    iget-object v3, p0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    invoke-virtual {v3}, Lframent/FramentOrder;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-direct {v0, v3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 655
    .local v0, "animLayout":Landroid/widget/LinearLayout;
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v4, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 658
    .local v1, "lp":Landroid/widget/LinearLayout$LayoutParams;
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 659
    const v3, 0x7fffffff

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setId(I)V

    .line 660
    const v3, 0x106000d

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 661
    invoke-virtual {v2, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 662
    return-object v0
.end method

.method private setAnim(Landroid/view/View;[I)V
    .locals 19
    .param p1, "v"    # Landroid/view/View;
    .param p2, "start_location"    # [I

    .prologue
    .line 590
    new-instance v3, Landroid/view/animation/ScaleAnimation;

    const/high16 v4, 0x3f000000    # 0.5f

    const/high16 v5, 0x3fc00000    # 1.5f

    const/high16 v6, 0x3f000000    # 0.5f

    const/high16 v7, 0x3fc00000    # 1.5f

    const/4 v8, 0x1

    const/high16 v9, 0x3f000000    # 0.5f

    const/4 v10, 0x1

    const/high16 v11, 0x3f000000    # 0.5f

    invoke-direct/range {v3 .. v11}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V

    .line 591
    .local v3, "mScaleAnimation":Landroid/view/animation/Animation;
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->AnimationDuration:I
    invoke-static {v4}, Lframent/FramentOrder;->access$43(Lframent/FramentOrder;)I

    move-result v4

    int-to-long v4, v4

    invoke-virtual {v3, v4, v5}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 592
    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Landroid/view/animation/Animation;->setFillAfter(Z)V

    .line 595
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const/4 v5, 0x0

    invoke-static {v4, v5}, Lframent/FramentOrder;->access$44(Lframent/FramentOrder;Landroid/view/ViewGroup;)V

    .line 596
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    invoke-direct/range {p0 .. p0}, Lframent/FramentOrder$1;->createAnimLayout()Landroid/view/ViewGroup;

    move-result-object v5

    invoke-static {v4, v5}, Lframent/FramentOrder;->access$44(Lframent/FramentOrder;Landroid/view/ViewGroup;)V

    .line 597
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->anim_mask_layout:Landroid/view/ViewGroup;
    invoke-static {v4}, Lframent/FramentOrder;->access$45(Lframent/FramentOrder;)Landroid/view/ViewGroup;

    move-result-object v4

    move-object/from16 v0, p1

    invoke-virtual {v4, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 598
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->anim_mask_layout:Landroid/view/ViewGroup;
    invoke-static {v4}, Lframent/FramentOrder;->access$45(Lframent/FramentOrder;)Landroid/view/ViewGroup;

    move-result-object v4

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    invoke-direct {v0, v4, v1, v2}, Lframent/FramentOrder$1;->addViewToAnimLayout(Landroid/view/ViewGroup;Landroid/view/View;[I)Landroid/view/View;

    move-result-object v18

    .line 600
    .local v18, "view":Landroid/view/View;
    const/4 v4, 0x2

    new-array v14, v4, [I

    .line 601
    .local v14, "end_location":[I
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_num:Lmyview/BadgeView;
    invoke-static {v4}, Lframent/FramentOrder;->access$1(Lframent/FramentOrder;)Lmyview/BadgeView;

    move-result-object v4

    invoke-virtual {v4, v14}, Lmyview/BadgeView;->getLocationInWindow([I)V

    .line 603
    const/4 v4, 0x0

    aget v4, p2, v4

    rsub-int/lit8 v4, v4, 0x0

    add-int/lit8 v12, v4, 0x50

    .line 604
    .local v12, "endX":I
    const/4 v4, 0x1

    aget v4, v14, v4

    const/4 v5, 0x1

    aget v5, p2, v5

    sub-int v13, v4, v5

    .line 605
    .local v13, "endY":I
    new-instance v16, Landroid/view/animation/TranslateAnimation;

    const/4 v4, 0x0

    int-to-float v5, v12

    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object/from16 v0, v16

    invoke-direct {v0, v4, v5, v6, v7}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    .line 606
    .local v16, "translateAnimationX":Landroid/view/animation/TranslateAnimation;
    new-instance v4, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v4}, Landroid/view/animation/LinearInterpolator;-><init>()V

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 607
    const/4 v4, 0x0

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setRepeatCount(I)V

    .line 608
    const/4 v4, 0x1

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setFillAfter(Z)V

    .line 610
    new-instance v17, Landroid/view/animation/TranslateAnimation;

    const/4 v4, 0x0

    const/4 v5, 0x0

    .line 611
    const/4 v6, 0x0

    int-to-float v7, v13

    .line 610
    move-object/from16 v0, v17

    invoke-direct {v0, v4, v5, v6, v7}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    .line 612
    .local v17, "translateAnimationY":Landroid/view/animation/TranslateAnimation;
    new-instance v4, Landroid/view/animation/AccelerateInterpolator;

    invoke-direct {v4}, Landroid/view/animation/AccelerateInterpolator;-><init>()V

    move-object/from16 v0, v17

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 613
    const/4 v4, 0x0

    move-object/from16 v0, v17

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setRepeatCount(I)V

    .line 614
    const/4 v4, 0x1

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setFillAfter(Z)V

    .line 616
    new-instance v15, Landroid/view/animation/AnimationSet;

    const/4 v4, 0x0

    invoke-direct {v15, v4}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    .line 617
    .local v15, "set":Landroid/view/animation/AnimationSet;
    const/4 v4, 0x0

    invoke-virtual {v15, v4}, Landroid/view/animation/AnimationSet;->setFillAfter(Z)V

    .line 618
    invoke-virtual {v15, v3}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 619
    move-object/from16 v0, v17

    invoke-virtual {v15, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 620
    invoke-virtual/range {v15 .. v16}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 621
    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->AnimationDuration:I
    invoke-static {v4}, Lframent/FramentOrder;->access$43(Lframent/FramentOrder;)I

    move-result v4

    int-to-long v4, v4

    invoke-virtual {v15, v4, v5}, Landroid/view/animation/AnimationSet;->setDuration(J)V

    .line 622
    move-object/from16 v0, v18

    invoke-virtual {v0, v15}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 624
    new-instance v4, Lframent/FramentOrder$1$2;

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    invoke-direct {v4, v0, v1}, Lframent/FramentOrder$1$2;-><init>(Lframent/FramentOrder$1;Landroid/view/View;)V

    invoke-virtual {v15, v4}, Landroid/view/animation/AnimationSet;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 644
    return-void
.end method


# virtual methods
.method public add(I)V
    .locals 20
    .param p1, "position"    # I

    .prologue
    .line 496
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # invokes: Lframent/FramentOrder;->getAllGoodsBeanList()Ljava/util/List;
    invoke-static {v15}, Lframent/FramentOrder;->access$34(Lframent/FramentOrder;)Ljava/util/List;

    move-result-object v15

    move/from16 v0, p1

    invoke-interface {v15, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lbean/GoodsBean;

    .line 498
    .local v10, "mygoods":Lbean/GoodsBean;
    invoke-virtual {v10}, Lbean/GoodsBean;->getId()Ljava/lang/String;

    move-result-object v6

    .line 499
    .local v6, "gid":Ljava/lang/String;
    invoke-virtual {v10}, Lbean/GoodsBean;->getname()Ljava/lang/String;

    move-result-object v11

    .line 500
    .local v11, "name":Ljava/lang/String;
    invoke-virtual {v10}, Lbean/GoodsBean;->getGgid()Ljava/lang/String;

    move-result-object v15

    if-nez v15, :cond_3

    .line 502
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const-string v16, "add"

    move-object/from16 v0, v16

    invoke-virtual {v15, v6, v0}, Lframent/FramentOrder;->refresh(Ljava/lang/String;Ljava/lang/String;)V

    .line 503
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->helper:Ldbclass/DBOpenHelper;
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$17(Lframent/FramentOrder;)Ldbclass/DBOpenHelper;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v16

    .line 504
    new-instance v17, Ljava/lang/StringBuilder;

    const-string v18, "select * from cart where goodsid="

    invoke-direct/range {v17 .. v18}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v17

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    invoke-virtual/range {v17 .. v17}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v17

    const/16 v18, 0x0

    .line 503
    invoke-virtual/range {v16 .. v18}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v16

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$18(Lframent/FramentOrder;Landroid/database/Cursor;)V

    .line 505
    const/4 v8, 0x0

    .line 506
    .local v8, "goodscount":I
    const/4 v7, 0x0

    .line 507
    .local v7, "goodscostone":F
    const/4 v2, 0x1

    .line 508
    .local v2, "checkgd":Z
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    if-eqz v15, :cond_2

    .line 509
    :goto_0
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    invoke-interface {v15}, Landroid/database/Cursor;->moveToNext()Z

    move-result v15

    if-nez v15, :cond_1

    .line 521
    :goto_1
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    invoke-interface {v15}, Landroid/database/Cursor;->close()V

    .line 522
    add-int/lit8 v12, v8, 0x1

    .line 524
    .local v12, "newgoodcount":I
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cv:Landroid/content/ContentValues;
    invoke-static {v15}, Lframent/FramentOrder;->access$41(Lframent/FramentOrder;)Landroid/content/ContentValues;

    move-result-object v15

    const-string v16, "goodscount"

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v17

    invoke-virtual/range {v15 .. v17}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 525
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v15}, Lframent/FramentOrder;->access$38(Lframent/FramentOrder;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v15

    const-string v16, "cart"

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v17, v0

    # getter for: Lframent/FramentOrder;->cv:Landroid/content/ContentValues;
    invoke-static/range {v17 .. v17}, Lframent/FramentOrder;->access$41(Lframent/FramentOrder;)Landroid/content/ContentValues;

    move-result-object v17

    new-instance v18, Ljava/lang/StringBuilder;

    const-string v19, "goodsid = \'"

    invoke-direct/range {v18 .. v19}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v18

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v18

    const-string v19, "\'"

    invoke-virtual/range {v18 .. v19}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v18

    invoke-virtual/range {v18 .. v18}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v18

    const/16 v19, 0x0

    invoke-virtual/range {v15 .. v19}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I

    .line 527
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    add-int/lit8 v16, p1, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v17, v0

    # getter for: Lframent/FramentOrder;->list:Landroid/widget/ListView;
    invoke-static/range {v17 .. v17}, Lframent/FramentOrder;->access$33(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v17

    invoke-virtual/range {v15 .. v17}, Lframent/FramentOrder;->getViewByPosition(ILandroid/widget/ListView;)Landroid/view/View;

    move-result-object v14

    .line 528
    .local v14, "tempview":Landroid/view/View;
    const v15, 0x7f0c0081

    invoke-virtual {v14, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    .line 529
    .local v9, "goodscoust":Landroid/widget/TextView;
    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v15

    invoke-virtual {v9, v15}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 531
    const v15, 0x7f0c0080

    invoke-virtual {v14, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 532
    .local v4, "delbtn":Landroid/widget/ImageView;
    const/4 v15, 0x0

    invoke-virtual {v4, v15}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 533
    const/4 v15, 0x0

    invoke-virtual {v9, v15}, Landroid/widget/TextView;->setVisibility(I)V

    .line 535
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v15}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v15

    move/from16 v0, p1

    invoke-virtual {v15, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v15

    check-cast v15, Lbean/GoodsBean;

    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Lbean/GoodsBean;->setCart(Ljava/lang/String;)V

    .line 536
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcart:I
    invoke-static {v15}, Lframent/FramentOrder;->access$29(Lframent/FramentOrder;)I

    move-result v16

    add-int/lit8 v16, v16, 0x1

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$27(Lframent/FramentOrder;I)V

    .line 537
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_num:Lmyview/BadgeView;
    invoke-static {v15}, Lframent/FramentOrder;->access$1(Lframent/FramentOrder;)Lmyview/BadgeView;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->sumcart:I
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$29(Lframent/FramentOrder;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Lmyview/BadgeView;->setText(Ljava/lang/CharSequence;)V

    .line 538
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->rl_shopbox:Landroid/widget/RelativeLayout;
    invoke-static {v15}, Lframent/FramentOrder;->access$42(Lframent/FramentOrder;)Landroid/widget/RelativeLayout;

    move-result-object v15

    const v16, 0x7f02009e

    invoke-virtual/range {v15 .. v16}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 539
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    iget-object v15, v15, Lframent/FramentOrder;->m:Lmyapp/MyApp;

    invoke-virtual {v15}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v15

    const-string v16, "1"

    invoke-virtual/range {v15 .. v16}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v15

    if-eqz v15, :cond_0

    .line 540
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->rl_shopbox:Landroid/widget/RelativeLayout;
    invoke-static {v15}, Lframent/FramentOrder;->access$42(Lframent/FramentOrder;)Landroid/widget/RelativeLayout;

    move-result-object v15

    const v16, 0x7f020021

    invoke-virtual/range {v15 .. v16}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 542
    :cond_0
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static {v15}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v16

    add-float v16, v16, v7

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$28(Lframent/FramentOrder;F)V

    .line 543
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v16

    const/high16 v17, 0x42c80000    # 100.0f

    mul-float v16, v16, v17

    invoke-static/range {v16 .. v16}, Ljava/lang/Math;->round(F)I

    move-result v16

    move/from16 v0, v16

    int-to-float v0, v0

    move/from16 v16, v0

    const/high16 v17, 0x42c80000    # 100.0f

    div-float v16, v16, v17

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$28(Lframent/FramentOrder;F)V

    .line 544
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_total:Landroid/widget/TextView;
    invoke-static {v15}, Lframent/FramentOrder;->access$31(Lframent/FramentOrder;)Landroid/widget/TextView;

    move-result-object v15

    new-instance v16, Ljava/lang/StringBuilder;

    invoke-direct/range {v16 .. v16}, Ljava/lang/StringBuilder;-><init>()V

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v17, v0

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static/range {v17 .. v17}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v17

    invoke-static/range {v17 .. v17}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v17

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 586
    .end local v4    # "delbtn":Landroid/widget/ImageView;
    .end local v8    # "goodscount":I
    :goto_2
    return-void

    .line 510
    .end local v9    # "goodscoust":Landroid/widget/TextView;
    .end local v12    # "newgoodcount":I
    .end local v14    # "tempview":Landroid/view/View;
    .restart local v8    # "goodscount":I
    :cond_1
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v16

    .line 511
    const-string v17, "goodscount"

    invoke-interface/range {v16 .. v17}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v16

    .line 510
    invoke-interface/range {v15 .. v16}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v15

    invoke-static {v15}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v15

    invoke-virtual {v15}, Ljava/lang/Integer;->intValue()I

    move-result v8

    .line 512
    const/4 v2, 0x0

    .line 513
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v16

    .line 514
    const-string v17, "goodscost"

    invoke-interface/range {v16 .. v17}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v16

    .line 513
    invoke-interface/range {v15 .. v16}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v15

    invoke-static {v15}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v15

    invoke-virtual {v15}, Ljava/lang/Float;->floatValue()F

    move-result v3

    .line 515
    .local v3, "dajia":F
    const/high16 v15, 0x42c80000    # 100.0f

    mul-float/2addr v15, v3

    invoke-static {v15}, Ljava/lang/Math;->round(F)I

    move-result v15

    int-to-float v15, v15

    const/high16 v16, 0x42c80000    # 100.0f

    div-float v7, v15, v16

    goto/16 :goto_0

    .line 519
    .end local v3    # "dajia":F
    :cond_2
    const/4 v2, 0x1

    goto/16 :goto_1

    .line 548
    .end local v2    # "checkgd":Z
    .end local v7    # "goodscostone":F
    .end local v8    # "goodscount":I
    :cond_3
    invoke-virtual {v10}, Lbean/GoodsBean;->getGgid()Ljava/lang/String;

    move-result-object v5

    .line 549
    .local v5, "ggid":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->helper:Ldbclass/DBOpenHelper;
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$17(Lframent/FramentOrder;)Ldbclass/DBOpenHelper;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v16

    .line 550
    new-instance v17, Ljava/lang/StringBuilder;

    const-string v18, "select * from cart where pid="

    invoke-direct/range {v17 .. v18}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v17

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    invoke-virtual/range {v17 .. v17}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v17

    const/16 v18, 0x0

    .line 549
    invoke-virtual/range {v16 .. v18}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v16

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$18(Lframent/FramentOrder;Landroid/database/Cursor;)V

    .line 551
    const/4 v13, 0x0

    .line 552
    .local v13, "pnum":I
    const/4 v7, 0x0

    .line 553
    .restart local v7    # "goodscostone":F
    const/4 v2, 0x1

    .line 554
    .restart local v2    # "checkgd":Z
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    if-eqz v15, :cond_5

    .line 555
    :goto_3
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    invoke-interface {v15}, Landroid/database/Cursor;->moveToNext()Z

    move-result v15

    if-nez v15, :cond_4

    .line 567
    :goto_4
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    invoke-interface {v15}, Landroid/database/Cursor;->close()V

    .line 569
    const/4 v1, 0x1

    .line 570
    .local v1, "checkcart":Z
    add-int/lit8 v12, v13, 0x1

    .line 571
    .restart local v12    # "newgoodcount":I
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cv:Landroid/content/ContentValues;
    invoke-static {v15}, Lframent/FramentOrder;->access$41(Lframent/FramentOrder;)Landroid/content/ContentValues;

    move-result-object v15

    const-string v16, "pnum"

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v17

    invoke-virtual/range {v15 .. v17}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 572
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v15}, Lframent/FramentOrder;->access$38(Lframent/FramentOrder;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v15

    const-string v16, "cart"

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v17, v0

    # getter for: Lframent/FramentOrder;->cv:Landroid/content/ContentValues;
    invoke-static/range {v17 .. v17}, Lframent/FramentOrder;->access$41(Lframent/FramentOrder;)Landroid/content/ContentValues;

    move-result-object v17

    new-instance v18, Ljava/lang/StringBuilder;

    const-string v19, "pid = \'"

    invoke-direct/range {v18 .. v19}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v18

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v18

    const-string v19, "\'"

    invoke-virtual/range {v18 .. v19}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v18

    invoke-virtual/range {v18 .. v18}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v18

    const/16 v19, 0x0

    invoke-virtual/range {v15 .. v19}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I

    .line 574
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    add-int/lit8 v16, p1, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v17, v0

    # getter for: Lframent/FramentOrder;->list:Landroid/widget/ListView;
    invoke-static/range {v17 .. v17}, Lframent/FramentOrder;->access$33(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v17

    invoke-virtual/range {v15 .. v17}, Lframent/FramentOrder;->getViewByPosition(ILandroid/widget/ListView;)Landroid/view/View;

    move-result-object v14

    .line 575
    .restart local v14    # "tempview":Landroid/view/View;
    const v15, 0x7f0c0081

    invoke-virtual {v14, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    .line 576
    .restart local v9    # "goodscoust":Landroid/widget/TextView;
    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v15

    invoke-virtual {v9, v15}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 578
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcart:I
    invoke-static {v15}, Lframent/FramentOrder;->access$29(Lframent/FramentOrder;)I

    move-result v16

    add-int/lit8 v16, v16, 0x1

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$27(Lframent/FramentOrder;I)V

    .line 579
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_num:Lmyview/BadgeView;
    invoke-static {v15}, Lframent/FramentOrder;->access$1(Lframent/FramentOrder;)Lmyview/BadgeView;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->sumcart:I
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$29(Lframent/FramentOrder;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Lmyview/BadgeView;->setText(Ljava/lang/CharSequence;)V

    .line 580
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static {v15}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v16

    add-float v16, v16, v7

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$28(Lframent/FramentOrder;F)V

    .line 581
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v16

    const/high16 v17, 0x42c80000    # 100.0f

    mul-float v16, v16, v17

    invoke-static/range {v16 .. v16}, Ljava/lang/Math;->round(F)I

    move-result v16

    move/from16 v0, v16

    int-to-float v0, v0

    move/from16 v16, v0

    const/high16 v17, 0x42c80000    # 100.0f

    div-float v16, v16, v17

    invoke-static/range {v15 .. v16}, Lframent/FramentOrder;->access$28(Lframent/FramentOrder;F)V

    .line 582
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_total:Landroid/widget/TextView;
    invoke-static {v15}, Lframent/FramentOrder;->access$31(Lframent/FramentOrder;)Landroid/widget/TextView;

    move-result-object v15

    new-instance v16, Ljava/lang/StringBuilder;

    invoke-direct/range {v16 .. v16}, Ljava/lang/StringBuilder;-><init>()V

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v17, v0

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static/range {v17 .. v17}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v17

    invoke-static/range {v17 .. v17}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v17

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_2

    .line 556
    .end local v1    # "checkcart":Z
    .end local v9    # "goodscoust":Landroid/widget/TextView;
    .end local v12    # "newgoodcount":I
    .end local v14    # "tempview":Landroid/view/View;
    :cond_4
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v16

    .line 557
    const-string v17, "pnum"

    invoke-interface/range {v16 .. v17}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v16

    .line 556
    invoke-interface/range {v15 .. v16}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v15

    invoke-static {v15}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v15

    invoke-virtual {v15}, Ljava/lang/Integer;->intValue()I

    move-result v13

    .line 558
    const/4 v2, 0x0

    .line 559
    move-object/from16 v0, p0

    iget-object v15, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v15}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v16, v0

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static/range {v16 .. v16}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v16

    .line 560
    const-string v17, "goodscost"

    invoke-interface/range {v16 .. v17}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v16

    .line 559
    invoke-interface/range {v15 .. v16}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v15

    invoke-static {v15}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v15

    invoke-virtual {v15}, Ljava/lang/Float;->floatValue()F

    move-result v3

    .line 561
    .restart local v3    # "dajia":F
    const/high16 v15, 0x42c80000    # 100.0f

    mul-float/2addr v15, v3

    invoke-static {v15}, Ljava/lang/Math;->round(F)I

    move-result v15

    int-to-float v15, v15

    const/high16 v16, 0x42c80000    # 100.0f

    div-float v7, v15, v16

    goto/16 :goto_3

    .line 565
    .end local v3    # "dajia":F
    :cond_5
    const/4 v2, 0x1

    goto/16 :goto_4
.end method

.method public handleMessage(Landroid/os/Message;)V
    .locals 33
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 224
    invoke-super/range {p0 .. p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 225
    move-object/from16 v0, p1

    iget v2, v0, Landroid/os/Message;->what:I

    packed-switch v2, :pswitch_data_0

    .line 232
    :pswitch_0
    move-object/from16 v0, p1

    iget v2, v0, Landroid/os/Message;->arg1:I

    sparse-switch v2, :sswitch_data_0

    .line 425
    :cond_0
    :goto_0
    :sswitch_0
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->view:Landroid/view/View;
    invoke-static {v2}, Lframent/FramentOrder;->access$32(Lframent/FramentOrder;)Landroid/view/View;

    move-result-object v2

    const v3, 0x7f0c01a6

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v27

    check-cast v27, Landroid/widget/RelativeLayout;

    .line 426
    .local v27, "search":Landroid/widget/RelativeLayout;
    new-instance v2, Lframent/FramentOrder$1$1;

    move-object/from16 v0, p0

    invoke-direct {v2, v0}, Lframent/FramentOrder$1$1;-><init>(Lframent/FramentOrder$1;)V

    move-object/from16 v0, v27

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 488
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v2}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "pscost"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v28

    .line 489
    .local v28, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v2, "ps"

    const-string v3, ""

    move-object/from16 v0, v28

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v31

    .line 490
    .local v31, "uid":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->order_bag:Landroid/widget/TextView;
    invoke-static {v2}, Lframent/FramentOrder;->access$40(Lframent/FramentOrder;)Landroid/widget/TextView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "\u914d\u9001\u8d39 :"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v31

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\u5143"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 492
    .end local v27    # "search":Landroid/widget/RelativeLayout;
    .end local v28    # "sharedPreferences":Landroid/content/SharedPreferences;
    .end local v31    # "uid":Ljava/lang/String;
    :goto_1
    return-void

    .line 243
    :sswitch_1
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    .line 244
    const-string v3, "javascript:waimai.showcontacts()"

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    .line 243
    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 245
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const/4 v3, 0x1

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$4(Lframent/FramentOrder;Z)V

    goto :goto_0

    .line 248
    :sswitch_2
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:goodsloadata("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsstr:Ljava/lang/String;
    invoke-static {v4}, Lframent/FramentOrder;->access$5(Lframent/FramentOrder;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 249
    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 248
    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 253
    :sswitch_3
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lframent/FramentOrder;->access$6(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "shopinfo"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 258
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    invoke-virtual {v2}, Lframent/FramentOrder;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    const-string v3, "shopinfo"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/support/v4/app/FragmentActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v26

    .line 259
    .local v26, "preferences":Landroid/content/SharedPreferences;
    const-string v2, "notice_info"

    const-string v3, ""

    move-object/from16 v0, v26

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v25

    .line 261
    .local v25, "ont":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->noticd2:Landroid/widget/TextView;
    invoke-static {v2}, Lframent/FramentOrder;->access$7(Lframent/FramentOrder;)Landroid/widget/TextView;

    move-result-object v2

    move-object/from16 v0, v25

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    .line 266
    .end local v25    # "ont":Ljava/lang/String;
    .end local v26    # "preferences":Landroid/content/SharedPreferences;
    :sswitch_4
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->stbd:Ldata/ShoptTypeData;
    invoke-static {v2}, Lframent/FramentOrder;->access$8(Lframent/FramentOrder;)Ldata/ShoptTypeData;

    move-result-object v2

    invoke-virtual {v2}, Ldata/ShoptTypeData;->notifyDataSetChanged()V

    goto/16 :goto_0

    .line 270
    :sswitch_5
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shoptyls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$9(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    .line 271
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    .line 272
    const/16 v16, 0x0

    .local v16, "i":I
    :goto_2
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tempsp:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$11(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    move/from16 v0, v16

    if-lt v0, v2, :cond_1

    .line 276
    const/16 v16, 0x0

    :goto_3
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tempgd:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$12(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    move/from16 v0, v16

    if-lt v0, v2, :cond_2

    .line 281
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shoptyls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$9(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-nez v2, :cond_3

    .line 282
    sget-object v2, Lframent/FramentOrder;->tv_select_boday:Landroid/widget/TextView;

    const-string v3, "\u6240\u6709\u5546\u54c1"

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 287
    :goto_4
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    new-instance v3, Ldata/ShoptTypeData;

    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shoptyls:Ljava/util/ArrayList;
    invoke-static {v4}, Lframent/FramentOrder;->access$9(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v4

    move-object/from16 v0, p0

    iget-object v5, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v5}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v5

    move-object/from16 v0, p0

    iget-object v6, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->listView:Landroid/widget/ListView;
    invoke-static {v6}, Lframent/FramentOrder;->access$13(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v6

    const/4 v7, 0x0

    invoke-direct {v3, v4, v5, v6, v7}, Ldata/ShoptTypeData;-><init>(Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;I)V

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$14(Lframent/FramentOrder;Ldata/ShoptTypeData;)V

    .line 288
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->listView:Landroid/widget/ListView;
    invoke-static {v2}, Lframent/FramentOrder;->access$13(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setCacheColorHint(I)V

    .line 289
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->listView:Landroid/widget/ListView;
    invoke-static {v2}, Lframent/FramentOrder;->access$13(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->stbd:Ldata/ShoptTypeData;
    invoke-static {v3}, Lframent/FramentOrder;->access$8(Lframent/FramentOrder;)Ldata/ShoptTypeData;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 291
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->stbd:Ldata/ShoptTypeData;
    invoke-static {v2}, Lframent/FramentOrder;->access$8(Lframent/FramentOrder;)Ldata/ShoptTypeData;

    move-result-object v2

    invoke-virtual {v2}, Ldata/ShoptTypeData;->notifyDataSetChanged()V

    .line 292
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const-string v3, "0"

    invoke-virtual {v2, v3}, Lframent/FramentOrder;->loadgoodsview(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 273
    :cond_1
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tempsp:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$11(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    move/from16 v0, v16

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v30

    check-cast v30, Lbean/ShoptypeBean;

    .line 274
    .local v30, "stb2":Lbean/ShoptypeBean;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shoptyls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$9(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    move-object/from16 v0, v30

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 272
    add-int/lit8 v16, v16, 0x1

    goto/16 :goto_2

    .line 277
    .end local v30    # "stb2":Lbean/ShoptypeBean;
    :cond_2
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tempgd:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$12(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    move/from16 v0, v16

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lbean/GoodsBean;

    .line 278
    .local v8, "bb":Lbean/GoodsBean;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 276
    add-int/lit8 v16, v16, 0x1

    goto/16 :goto_3

    .line 284
    .end local v8    # "bb":Lbean/GoodsBean;
    :cond_3
    sget-object v3, Lframent/FramentOrder;->tv_select_boday:Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shoptyls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$9(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    const/4 v4, 0x0

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShoptypeBean;

    invoke-virtual {v2}, Lbean/ShoptypeBean;->getname()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_4

    .line 297
    .end local v16    # "i":I
    :sswitch_6
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:addcart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p1

    iget-object v4, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 298
    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 297
    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 302
    :sswitch_7
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:downcart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 303
    move-object/from16 v0, p1

    iget-object v4, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 302
    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 307
    :sswitch_8
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:clearonecart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 308
    move-object/from16 v0, p1

    iget-object v4, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 307
    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 311
    :sswitch_9
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:downclscart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 312
    move-object/from16 v0, p1

    iget-object v4, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 311
    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 316
    :sswitch_a
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v2}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    iget-object v4, v4, Lframent/FramentOrder;->m:Lmyapp/MyApp;

    invoke-virtual {v4}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 319
    :sswitch_b
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lframent/FramentOrder;->access$3(Lframent/FramentOrder;)Landroid/webkit/WebView;

    move-result-object v2

    const-string v3, "javascript:reloadcart();"

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 322
    :sswitch_c
    move-object/from16 v0, p1

    iget-object v2, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    invoke-static {v2}, Lframent/FramentOrder;->access$15(I)V

    .line 324
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    # getter for: Lframent/FramentOrder;->nowshowid:I
    invoke-static {}, Lframent/FramentOrder;->access$16()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v18

    check-cast v18, Lbean/GoodsBean;

    .line 326
    .local v18, "mygoods":Lbean/GoodsBean;
    invoke-virtual/range {v18 .. v18}, Lbean/GoodsBean;->getId()Ljava/lang/String;

    move-result-object v13

    .line 328
    .local v13, "gid":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->helper:Ldbclass/DBOpenHelper;
    invoke-static {v3}, Lframent/FramentOrder;->access$17(Lframent/FramentOrder;)Ldbclass/DBOpenHelper;

    move-result-object v3

    invoke-virtual {v3}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v3

    .line 329
    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "select * from cart where goodsid="

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    const/4 v5, 0x0

    .line 328
    invoke-virtual {v3, v4, v5}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v3

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$18(Lframent/FramentOrder;Landroid/database/Cursor;)V

    .line 330
    const/4 v15, 0x0

    .line 331
    .local v15, "goodscount":I
    const/4 v14, 0x0

    .line 332
    .local v14, "goodscostone":F
    const/4 v11, 0x1

    .line 333
    .local v11, "checkgd":Z
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v2}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v2

    invoke-interface {v2}, Landroid/database/Cursor;->getCount()I

    move-result v2

    if-lez v2, :cond_5

    .line 334
    :goto_5
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v2}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v2

    invoke-interface {v2}, Landroid/database/Cursor;->moveToNext()Z

    move-result v2

    if-nez v2, :cond_4

    .line 346
    :goto_6
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v2}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v2

    invoke-interface {v2}, Landroid/database/Cursor;->close()V

    .line 347
    const/4 v10, 0x1

    .line 348
    .local v10, "checkcart":Z
    add-int/lit8 v19, v15, 0x1

    .line 349
    .local v19, "newgoodcount":I
    invoke-virtual/range {v18 .. v18}, Lbean/GoodsBean;->getcounts()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v9

    .line 350
    .local v9, "check1":I
    move/from16 v0, v19

    if-ge v9, v0, :cond_6

    .line 351
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v2}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    const-string v4, "\u5e93\u5b58\u4e0d\u8db3"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_1

    .line 335
    .end local v9    # "check1":I
    .end local v10    # "checkcart":Z
    .end local v19    # "newgoodcount":I
    :cond_4
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v2}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v3}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v3

    .line 336
    const-string v4, "goodscount"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    .line 335
    invoke-interface {v2, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v15

    .line 337
    const/4 v11, 0x0

    .line 338
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v2}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->cursor:Landroid/database/Cursor;
    invoke-static {v3}, Lframent/FramentOrder;->access$19(Lframent/FramentOrder;)Landroid/database/Cursor;

    move-result-object v3

    .line 339
    const-string v4, "goodscost"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    .line 338
    invoke-interface {v2, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v12

    .line 340
    .local v12, "dajia":F
    const/high16 v2, 0x42c80000    # 100.0f

    mul-float/2addr v2, v12

    invoke-static {v2}, Ljava/lang/Math;->round(F)I

    move-result v2

    int-to-float v2, v2

    const/high16 v3, 0x42c80000    # 100.0f

    div-float v14, v2, v3

    goto/16 :goto_5

    .line 344
    .end local v12    # "dajia":F
    :cond_5
    const/4 v11, 0x1

    goto/16 :goto_6

    .line 354
    .restart local v9    # "check1":I
    .restart local v10    # "checkcart":Z
    .restart local v19    # "newgoodcount":I
    :cond_6
    invoke-virtual/range {p1 .. p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "start"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getIntArray(Ljava/lang/String;)[I

    move-result-object v29

    .line 355
    .local v29, "startpos":[I
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    new-instance v3, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v4}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$20(Lframent/FramentOrder;Landroid/widget/ImageView;)V

    .line 356
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->buyImg:Landroid/widget/ImageView;
    invoke-static {v2}, Lframent/FramentOrder;->access$21(Lframent/FramentOrder;)Landroid/widget/ImageView;

    move-result-object v2

    const v3, 0x7f02004f

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 357
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    iget-object v2, v2, Lframent/FramentOrder;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v2

    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    .line 358
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->buyImg:Landroid/widget/ImageView;
    invoke-static {v2}, Lframent/FramentOrder;->access$21(Lframent/FramentOrder;)Landroid/widget/ImageView;

    move-result-object v2

    const v3, 0x7f02004e

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 360
    :cond_7
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->buyImg:Landroid/widget/ImageView;
    invoke-static {v2}, Lframent/FramentOrder;->access$21(Lframent/FramentOrder;)Landroid/widget/ImageView;

    move-result-object v2

    move-object/from16 v0, p0

    move-object/from16 v1, v29

    invoke-direct {v0, v2, v1}, Lframent/FramentOrder$1;->setAnim(Landroid/view/View;[I)V

    goto/16 :goto_0

    .line 365
    .end local v9    # "check1":I
    .end local v10    # "checkcart":Z
    .end local v11    # "checkgd":Z
    .end local v13    # "gid":Ljava/lang/String;
    .end local v14    # "goodscostone":F
    .end local v15    # "goodscount":I
    .end local v18    # "mygoods":Lbean/GoodsBean;
    .end local v19    # "newgoodcount":I
    .end local v29    # "startpos":[I
    :sswitch_d
    move-object/from16 v0, p1

    iget-object v2, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v20

    .line 366
    .local v20, "nowshowid2":I
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move/from16 v0, v20

    invoke-virtual {v2, v0}, Lframent/FramentOrder;->delcart(I)V

    goto/16 :goto_0

    .line 371
    .end local v20    # "nowshowid2":I
    :sswitch_e
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p1

    iget-object v3, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$22(Lframent/FramentOrder;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 375
    :sswitch_f
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p1

    iget-object v3, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$23(Lframent/FramentOrder;Ljava/lang/String;)V

    .line 376
    new-instance v17, Landroid/content/Intent;

    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v2}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v2

    const-class v3, Lcom/example/m6wmr/DishesParticularActivity;

    move-object/from16 v0, v17

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 377
    .local v17, "intent":Landroid/content/Intent;
    const-string v2, "shopid"

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shopid:Ljava/lang/String;
    invoke-static {v3}, Lframent/FramentOrder;->access$2(Lframent/FramentOrder;)Ljava/lang/String;

    move-result-object v3

    move-object/from16 v0, v17

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 378
    const-string v2, "goodsid"

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsid:Ljava/lang/String;
    invoke-static {v3}, Lframent/FramentOrder;->access$24(Lframent/FramentOrder;)Ljava/lang/String;

    move-result-object v3

    move-object/from16 v0, v17

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 379
    const-string v2, "shopname"

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shopname:Ljava/lang/String;
    invoke-static {v3}, Lframent/FramentOrder;->access$25(Lframent/FramentOrder;)Ljava/lang/String;

    move-result-object v3

    move-object/from16 v0, v17

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 380
    const-string v2, "open"

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    iget-object v3, v3, Lframent/FramentOrder;->open:Ljava/lang/String;

    move-object/from16 v0, v17

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 381
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v2}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v2

    move-object/from16 v0, v17

    invoke-virtual {v2, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 387
    .end local v17    # "intent":Landroid/content/Intent;
    :sswitch_10
    move-object/from16 v0, p1

    iget-object v2, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v21

    .line 388
    .local v21, "nowshowid3":I
    move-object/from16 v0, p0

    move/from16 v1, v21

    invoke-virtual {v0, v1}, Lframent/FramentOrder$1;->add(I)V

    goto/16 :goto_0

    .line 391
    .end local v21    # "nowshowid3":I
    :sswitch_11
    move-object/from16 v0, p1

    iget-object v2, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v22

    .line 392
    .local v22, "nowshowid4":I
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move/from16 v0, v22

    invoke-virtual {v2, v0}, Lframent/FramentOrder;->del(I)V

    goto/16 :goto_0

    .line 397
    .end local v22    # "nowshowid4":I
    :sswitch_12
    move-object/from16 v0, p1

    iget-object v2, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v23

    .line 398
    .local v23, "nowshowid5":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const-string v3, "add"

    move-object/from16 v0, v23

    invoke-virtual {v2, v0, v3}, Lframent/FramentOrder;->refresh(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 402
    .end local v23    # "nowshowid5":Ljava/lang/String;
    :sswitch_13
    move-object/from16 v0, p1

    iget-object v2, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    .line 403
    .local v24, "nowshowid6":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const-string v3, "del"

    move-object/from16 v0, v24

    invoke-virtual {v2, v0, v3}, Lframent/FramentOrder;->refresh(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 409
    .end local v24    # "nowshowid6":Ljava/lang/String;
    :sswitch_14
    const/16 v16, 0x0

    .restart local v16    # "i":I
    :goto_7
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    move/from16 v0, v16

    if-lt v0, v2, :cond_8

    .line 412
    move-object/from16 v0, p0

    iget-object v0, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v32, v0

    new-instance v2, Ldata/GoodsAdapter;

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v3}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v3

    move-object/from16 v0, p0

    iget-object v4, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v4}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v4

    move-object/from16 v0, p0

    iget-object v5, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->listView2:Landroid/widget/ListView;
    invoke-static {v5}, Lframent/FramentOrder;->access$26(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v5

    sget-object v6, Lframent/FramentOrder;->tv_select_boday:Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v7, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    iget-object v7, v7, Lframent/FramentOrder;->open:Ljava/lang/String;

    invoke-direct/range {v2 .. v7}, Ldata/GoodsAdapter;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/widget/ListView;Landroid/widget/TextView;Ljava/lang/String;)V

    move-object/from16 v0, v32

    iput-object v2, v0, Lframent/FramentOrder;->gdbd1:Ldata/GoodsAdapter;

    .line 413
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->listView2:Landroid/widget/ListView;
    invoke-static {v2}, Lframent/FramentOrder;->access$26(Lframent/FramentOrder;)Landroid/widget/ListView;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    iget-object v3, v3, Lframent/FramentOrder;->gdbd1:Ldata/GoodsAdapter;

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 414
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$27(Lframent/FramentOrder;I)V

    .line 415
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$28(Lframent/FramentOrder;F)V

    .line 416
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_num:Lmyview/BadgeView;
    invoke-static {v2}, Lframent/FramentOrder;->access$1(Lframent/FramentOrder;)Lmyview/BadgeView;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcart:I
    invoke-static {v3}, Lframent/FramentOrder;->access$29(Lframent/FramentOrder;)I

    move-result v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lmyview/BadgeView;->setText(Ljava/lang/CharSequence;)V

    .line 417
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static {v3}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v3

    const/high16 v4, 0x42c80000    # 100.0f

    mul-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v3

    int-to-float v3, v3

    const/high16 v4, 0x42c80000    # 100.0f

    div-float/2addr v3, v4

    invoke-static {v2, v3}, Lframent/FramentOrder;->access$28(Lframent/FramentOrder;F)V

    .line 418
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->tv_total:Landroid/widget/TextView;
    invoke-static {v2}, Lframent/FramentOrder;->access$31(Lframent/FramentOrder;)Landroid/widget/TextView;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v3, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->sumcartcost:F
    invoke-static {v3}, Lframent/FramentOrder;->access$30(Lframent/FramentOrder;)F

    move-result v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    .line 410
    :cond_8
    move-object/from16 v0, p0

    iget-object v2, v0, Lframent/FramentOrder$1;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v2}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v2

    move/from16 v0, v16

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/GoodsBean;

    const-string v3, "0"

    invoke-virtual {v2, v3}, Lbean/GoodsBean;->setCart(Ljava/lang/String;)V

    .line 409
    add-int/lit8 v16, v16, 0x1

    goto/16 :goto_7

    .line 225
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
    .end packed-switch

    .line 232
    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_0
        0x2 -> :sswitch_0
        0xe -> :sswitch_1
        0xf -> :sswitch_2
        0x10 -> :sswitch_3
        0x11 -> :sswitch_4
        0x12 -> :sswitch_5
        0x13 -> :sswitch_6
        0x14 -> :sswitch_7
        0x15 -> :sswitch_8
        0x16 -> :sswitch_9
        0x19 -> :sswitch_14
        0x1f -> :sswitch_c
        0x20 -> :sswitch_d
        0x21 -> :sswitch_10
        0x22 -> :sswitch_11
        0x23 -> :sswitch_12
        0x24 -> :sswitch_13
        0x26 -> :sswitch_b
        0x28 -> :sswitch_0
        0x29 -> :sswitch_e
        0x2a -> :sswitch_f
        0x6f -> :sswitch_a
    .end sparse-switch
.end method
